﻿<%@ Page Inherits="CodeCounsel.SharePoint.Flash.VideoSettingsPage, CodeCounsel.SharePoint.Flash, Culture=neutral, Version=1.0.0.0, PublicKeyToken=a83cc8fa1cb070d9" MasterPageFile="~/_layouts/simple.master" %>
<%@ Register Assembly="CodeCounsel.SharePoint.Flash, Culture=neutral, Version=1.0.0.0, PublicKeyToken=a83cc8fa1cb070d9" Namespace="CodeCounsel.SharePoint.Flash" TagPrefix="cc" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<asp:Content ID="PageTitleContent" runat="server" ContentPlaceHolderID="PlaceHolderPageTitle">
    Video Settings
</asp:Content>

<asp:Content ID="PageTitleInTitleAreaContent" runat="server" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea">
    Edit the general video settings on <%= Web.Title %>
</asp:Content>

<asp:Content ID="MainContent" runat="server" ContentPlaceHolderID="PlaceHolderMain">
<table class="ms-propertysheet" border="0" cellspacing="0" cellpadding="0">
    <wssuc:InputFormSection Title="Display Settings" Description="Settings that impact the user interface"
        runat="server">
        <template_inputformcontrols>
            <wssuc:InputFormControl runat="server" LabelText="Show 'Play' icon when video is not started">
                <Template_Control>
                    <asp:CheckBox id="showIconsField" runat="server" />
                </Template_Control>
            </wssuc:InputFormControl>
            <wssuc:InputFormControl runat="server" LabelText="Full-screen mode">
                <Template_Control>
                    <asp:DropDownList id="fullScreenModeField" runat="server">
                        <asp:ListItem Value="NoStrech">No Stretch</asp:ListItem>
                        <asp:ListItem Value="Proportional">Proportional</asp:ListItem>
                        <asp:ListItem Value="Disproportional">Disproportional</asp:ListItem>
                        <asp:ListItem Value="OriginalDimensions">Original Dimensions</asp:ListItem>
                    </asp:DropDownList>
                </Template_Control>
            </wssuc:InputFormControl>
            <wssuc:InputFormControl runat="server" LabelText="Background image (when none is specified in the video itself)">
                <Template_Control>
                    <asp:TextBox id="backgroundImageField" runat="server" />
                </Template_Control>
            </wssuc:InputFormControl>
        </template_inputformcontrols>
    </wssuc:InputFormSection>
    <wssuc:InputFormSection Title="Playback Settings" Description="Settings that impact how the video plays"
        runat="server">
        <template_inputformcontrols>
            <wssuc:InputFormControl runat="server" LabelText="Auto-start the video on loading of the page">
                <Template_Control>
                    <asp:CheckBox id="autoStartField" runat="server" />
                </Template_Control>
            </wssuc:InputFormControl>
        </template_inputformcontrols>
    </wssuc:InputFormSection>    
    <wssuc:ButtonSection runat="server" ShowStandardCancelButton="false">
        <template_buttons>
            <asp:Button ID="OkButton" Text="Ok" OnClick="OkButton_Click" runat="server" />
            <asp:Button ID="CancelButton" Text="Cancel" OnClick="CancelButton_Click" UseSubmitBehavior="false" CommandName="Cancel" runat="server" CausesValidation="false" />
        </template_buttons>
    </wssuc:ButtonSection>
</table>
<SharePoint:FormDigest ID="formDigest" runat="server" />
</asp:Content>